package com.pnk087.servlet.chapter05;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Created by IntelliJ IDEA.
 * User: khanhpham
 * Date: 5/4/12
 * Time: 5:42 AM
 * To change this template use File | Settings | File Templates.
 */
public class ServletA extends HttpServlet {
    protected void doGet(HttpServletRequest req, HttpServletResponse resp)
            throws ServletException, IOException {
        getServletContext().setAttribute("foo", "100");
    }
}
